package com.jkhan.design.impl;

import com.jkhan.design.OrderAdapterService;
import com.jkhan.design.service.OrderService;

/**
 * @ClassName InsideOrderService
 * @Description InsideOrderService
 * @Author hjk
 * @Date 2023/2/13 23:19
 **/
public class InsideOrderService implements OrderAdapterService {

    private OrderService orderService = new OrderService();

    @Override
    public boolean isFirst(String uid) {
        return orderService.queryUserOrderCount(uid) <= 1;
    }

}
